﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hi_Baidu.Cache.CacheObject
{
    /// <summary>
    ///     提供了删除好友缓存的相关操作
    /// </summary>
    public class DeleteFriendCache : Cache
    {
        private String ItemId;
        /// <summary>
        ///     提供了删除好友缓存的相关操作
        /// </summary>
        /// <param name="Key">唯一标示</param>
        /// <param name="Value">缓存值</param>
        /// <param name="ItemId">分组ID</param>
        /// <param name="ExpridTime">过期时间</param>
        public DeleteFriendCache(String Key, String Value, String ItemId, DateTime ExpridTime)
            : base(Key, Value, ExpridTime)
        {
            this.ItemId = ItemId;
        }

        /// <summary>
        ///     得到关联的分组ID
        /// </summary>
        /// <returns>返回分组ID</returns>
        public String GetItemId()
        {
            return this.ItemId;
        }

        public override void Dispose()
        {
            
        }
    }
}
